]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
powerProfiles: Remove support for power-profiles-daemon < 0.9.0
authorBastien Nocera <hadess@hadess.net>
Fri, 14 Jan 2022 11:27:57 +0000 (12:27 +0100)
committerBastien Nocera <hadess@hadess.net>
Tue, 8 Feb 2022 11:21:44 +0000 (11:21 +0000)
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2101>

js/ui/status/powerProfiles.js

index 61205bbc6096b4baabd5e3b523311f10b0508471..cc870fccf847a1a9667ad490266d47d743542a54 100644 (file)
@@ -101,10 +101,6 @@ class Indicator extends PanelMenu.SystemIndicator {
                 : PopupMenu.Ornament.NONE);
         }
 
-        const perfItem = this._profileItems.get('performance');
-        if (perfItem)
-            perfItem.sensitive = this._proxy.PerformanceInhibited === '';
-
         this._item.label.text = PROFILE_LABELS[this._proxy.ActiveProfile];
         this._item.icon.icon_name = PROFILE_ICONS[this._proxy.ActiveProfile];
     }